package vooga.behaviors;

import vooga.entities.Entity;


public class Centered extends AbstractBehavior
{
    private Entity mySource;

    public Centered (Entity source)
    {
        mySource = source;
    }


    public void step (Entity target)
    {
        target.setCenter(mySource.getCenter());
    }
}
